<?php

namespace App\Model;
use Hyperf\HttpServer\Contract\RequestInterface;
use Phper666\JWTAuth\Util\JWTUtil;
use Util\Common;
use Psr\Container\ContainerExceptionInterface;

class MemberTime extends Model
{

    /**
     * The attributes that are mass assignable.
     *
     * @var string[]
     */

    public bool $timestamps = true;

    protected ?string $table = 'member_time';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected array $fillable = [
        'id', 'member_id','start',
        'end','down_count',
        'order_id'
    ];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected array $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s',
    ];

}
